﻿<%@ Page Title="" Language="C#" MasterPageFile="~/design_page/admin/admin.master" AutoEventWireup="true" CodeFile="admin_public_notice_history.aspx.cs" Inherits="design_page_admin_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

     <div style="text-align: center; margin-right: auto; margin-left: auto; height: 166px;">
          <div style="text-align: center; margin-right: auto; margin-left: auto; width: 1048px;" >
        <table cellpadding="0" cellspacing="11" class="style19" style="width: 1035px">
            <tr>
                      <td style="text-align: right;">
                        
                      <asp:GridView ID="GridView_notice_history" runat="server" CellPadding="4" 
                              ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" 
                             Width="100%" AllowPaging="True" onrowcommand="gridview_rowcommand">

                                <Columns>
                                

                                   <asp:TemplateField HeaderText="公告内容">
                                  <ItemTemplate>
                                      <asp:LinkButton ID="LinkButton22" runat="server" 
                                          CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" 
                                          CommandName="gridview_choose">选择</asp:LinkButton>
                                  </ItemTemplate>
                              </asp:TemplateField>


                                 <asp:TemplateField HeaderText="公告ID">
                                        <ItemTemplate>
                                    <asp:Label ID="dLabel_uploadid" runat="server" Text='<%# Bind("_public_notice_id") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>

                                 

                                     <asp:TemplateField HeaderText="发布时间">
                                        <ItemTemplate>
                                    <asp:Label ID="dLabel_filename" runat="server" Text='<%# Bind("_notice_send_time") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>


                                       <asp:TemplateField HeaderText="使用状况">
                                        <ItemTemplate>
                                    <asp:Label ID="dLabel_homework_score1" runat="server"  Text='<%# Bind("_Is_use") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>

                                  
                                     <asp:TemplateField HeaderText="删除">
                                  <ItemTemplate>
                                      <asp:LinkButton ID="LinkButton2" runat="server" 
                                          CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" 
                                          CommandName="gridview_delete">删除</asp:LinkButton>
                                  </ItemTemplate>
                              </asp:TemplateField>


                          </Columns>


                              <AlternatingRowStyle BackColor="White" />
                              <EditRowStyle BackColor="#2461BF" />
                              <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                              <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                              <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                              <RowStyle BackColor="#EFF3FB" />
                              <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                              <SortedAscendingCellStyle BackColor="#F5F7FB" />
                              <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                              <SortedDescendingCellStyle BackColor="#E9EBEF" />
                              <SortedDescendingHeaderStyle BackColor="#4870BE" />
                          </asp:GridView>
                         <div style="text-align: left; height: 23px; vertical-align: bottom;">
                        <asp:Label ID="Label1" runat="server" Text="公告内容:" Visible="False"></asp:Label>

                    </div>
                    <div>

                        <asp:TextBox ID="TextBox1" runat="server" Height="260px" TextMode="MultiLine"  Visible="False"
                            Width="1005px"></asp:TextBox>
                    </div>
                     <div style="text-align: left; vertical-align: bottom;">
                    
                         <asp:Button ID="Button1" runat="server" Text="关闭" Visible="False" Height="25px" 
                             onclick="Button1_Click" Width="81px" />
                    </div>

                        
                        </td>
            </tr>
            </table>
       </div> 
    </div>


</asp:Content>

